#include "pointParticleObject.h"

// Objects //
PointParticleObject::PointParticleObject(Particle *particle, double radius) : _particle(particle), _radius(radius) { }

// Render as a single sphere...
void PointParticleObject::render() {
	
	glPushMatrix();
	// Camera transform already applied before calling this...
	glTranslated(_particle->getPosition()[0], _particle->getPosition()[1], _particle->getPosition()[2]);
	drawSphere(_radius);
	glPopMatrix();

}
